package br.com.fafica.fast_restaurant.control;

import java.util.ArrayList;

import br.com.fafica.fast_restaurant.model.Banco;

public class ControlBanco {
	
	private Banco objBanco;
	
	public ControlBanco (){
		this.objBanco = new Banco();
	}
	
	
	
	public void Conectar(ArrayList<String> pList) {

		this.objBanco.setURL(pList.get(0));
		this.objBanco.setUsuario(pList.get(1));
		this.objBanco.setSenha(pList.get(2));
		
		
		
		this.objBanco.Conectar();


}
}
